package simple.word;

import java.io.PrintStream;

public class LookupResult {
	private String word;
	private String explain;

	public void printWord(PrintStream out) {
		out.println("<w>" + word.trim());
	}

	public void printExplain(PrintStream out) {
		out.println("<c>" + explain.trim());
	}
	
	public String getWord() {
		return word;
	}

	public void setWord(String word) {
		this.word = word;
	}

	public void setExplain(String explain) {
		this.explain = explain;
	}

	public String getExplain() {
		return explain;
	}

	@Override
	public String toString() {
		return "LookupResult [word=" + word + ", explain=" + explain + "]";
	}

	
}
